home *** CD-ROM | disk | FTP | other *** search
XSetup plugin | 2002-04-06 | 1.3 KB | 49 lines |
- "FILE"="Xteq Systems X-Setup Plugin 5.0"
- "TYPE"="5"
- "COUNT"="1"
- "UIPATH"="Program Options\Other Programs\Adobe\Acrobat Reader 4.0\"
- "NAME"="Recent files"
- "VERSION"="1.00"
- "LANGUAGE"="VBScript"
- "TEXT 1"="Clear recent files list"
- "DESCRIPTION 1"="If you don't want other people to see the files you have open, click on the button."
- "DESCRIPTION 2"="NOTE: this plug-in works with all 4.XX versions ..."
- "DESCRIPTION 3"="Acrobat Reader is available at http://www.adobe.com."
- "AUTHOR"="FORMATMAN"
- "CONTACTURL"="http://formatland.free.fr/"
- "COPYRIGHT"="Copyright ⌐ Formatman"
- "COMMENT 1"="For more informations, go to http://www.xsetup.net"
- "COMMENT 2"="Created by VORMELKER Werner"
- "COMMENT 3"="http://formatland.free.fr/"
- "COMMENT 4"="formatman@wanadoo.fr"
-
- sP="HKCU\Software\Adobe\Acrobat Reader\4.0\AdobeViewer\"
-
-
- Sub Plugin_Initialize
- If RegPathExists(sP)=false then
- Disable()
- end if
- End Sub
-
- Sub Plugin_CheckData(ElementIndex)
- End Sub
-
- Sub Plugin_Apply(ElementIndex,ElementSubIndex)
- if ElementIndex=1 then
- for l=1 to 30
- s="avpRecentFile" & l
- v=RegReadValue(sP & s)
-
- If IsEmpty(v)=false then
- Call RegDeleteValue(sP & S)
- end if
- Next
-
- Call MsgInformation("List cleared !")
- end if
- End Sub
-
- Sub Plugin_Terminate
- End Sub
-